package com.iursp.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;

import com.iursp.domain.result.ExceptionMsg;
import com.iursp.domain.result.Response;

@Controller
public class BaseController {

	protected Logger logger =  LoggerFactory.getLogger(this.getClass());
	
	protected Response result(ExceptionMsg msg){
    	return new Response(msg);
    }
    protected Response result(){
    	return new Response();
    }
}
